<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title></title>
    <link href="/styles/base.css" rel="stylesheet" type="text/css">
    <link href="/styles/replyDetail.css" rel="stylesheet" type="text/css">
    <link rel="stylesheet" href="/js/bootstrap/css/bootstrap.css" type="text/css"/>
    <link href="/js/plugins/jqPaginator/jqPagination.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/js/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/js/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript" src="/js/plugins/jquery-form/jquery.form.js"></script>
    <script type="text/javascript" src="/js/plugins/messager/jquery.bootstrap.min.js"></script>
    <script type="text/javascript" src="/js/plugins/jqPaginator/jq-paginator.min.js"></script>
    <script type="text/javascript" src="/js/system/common.js"></script>

</head>

<body>
<#assign currentNav="destination">
<#include "../common/navbar.ftl">
<!----------------------------------------->

<div id="container" data-cs-t="景点详情页">
    <div class="row row-top">
        <div class="wrapper">
            <div class="extra">
                <!-- 天气 S-->
                <div class="weather" data-cs-p="天气">
                    <a href="/weather/10088.html" target="_blank">
                        <img src="http://images.mafengwo.net/images/mdd_weather/icon/icon34.png" width="25" height="25">
                        <span>中雨 27℃~34℃</span>
                    </a>
                </div>
                <!-- 天气 E-->
                <!-- 收藏去过 S-->
                <div class="action _j_rside want-been">
                    <div class="been-box">
                        <a class="_j_beenpoi btn-been _j_hovergo" href="/path/" target="_blank" title="添加至我的足迹"
                           data-cs-p="足迹">
                            <i class="icon"></i>
                            <span class="txt">去过</span>
                        </a>
                        <div class="rate-pop" style="display:none;">
                            <div class="rank-star">
                                <span class="s-star s-star0"></span>
                                <div class="click_star">
                                    <a title="1星" rel="nofollow" data-num="1"></a>
                                    <a title="2星" rel="nofollow" data-num="2"></a>
                                    <a title="3星" rel="nofollow" data-num="3"></a>
                                    <a title="4星" rel="nofollow" data-num="4"></a>
                                    <a title="5星" rel="nofollow" data-num="5"></a>
                                </div>
                            </div>
                            <span class="rank-hint">必去推荐</span>
                        </div>
                    </div>
                    <a class="_j_favpoi btn-collect " href="/plan/fav.php?iMid=10088" target="_blank" title="添加收藏"
                       data-cs-p="收藏">
                        <i class="icon"></i>
                        <span class="txt">收藏</span>
                    </a>
                </div>
                <!-- 收藏去过 E-->
            </div>
            <!-- 面包屑toasts -->
            <#include "../common/toastPoi.ftl"/>
            <script language="JavaScript" type="text/javascript">
                $(function () {
                    //面包屑
                    $('.drop').mouseenter(function (ev) {
                        var target = $(ev.currentTarget);
                        clearTimeout(target.data('hideTimer'));
                        target.addClass('open');
                        target.children('bd').fadeIn(200);
                    });
                    $('.drop').mouseleave(function (ev) {
                        var target = $(ev.currentTarget);
                        target.data("hideTimer", setTimeout(function () {
                            target.removeClass('open');
                            target.children('bd').fadeOut(200);
                        }, 200));
                    });
                });
            </script>

            <!-- POI名称 S-->
            <br/>
            <div class="title">
                <h1>${entity.name!}</h1>

            </div>
            <!-- POI名称 E-->

            <!-- 快捷导航 S-->
            <div style="height: 60px;">
                <div class="r-nav" id="poi-navbar" data-cs-p="快捷导航">
                    <ul class="clearfix">
                        <li data-scroll="overview" class="on">
                            <a title="概况" href="#overview">概况</a>
                        </li>
                        <li data-scroll="attractions" style="display: none">
                            <a title="景点亮点">景点亮点</a>
                        </li>
                        <li data-scroll="commentlist">
                            <a title="蜂蜂点评" href="#commentlist">蜂蜂点评<span>（5592条）</span></a>
                        </li>


                        <li data-scroll="comment" class="nav-right">
                            <a class="btn-reviews" title="我要点评" data-json='${entity.json!}'>我要点评</a>
                        </li>
                    </ul>
                </div>
            </div>
            <!-- 快捷导航 E-->

        </div>
    </div>

    <script type="text/javascript">
        (function () {
            //导航
            var $navbar = $('#poi-navbar'),
                offset_top,
                $lis = $navbar.find("li").not('.nav-right');
            $('<div/>').insertBefore($navbar).append($navbar).height($navbar.outerHeight(true));
            $(function () {
                offset_top = $navbar.offset().top;
                $(window).bind('scroll.poinav', setFixed).trigger("scroll.poinav");
            });

            $(document).delegate("[data-scroll]", "click", function () {
                scrollTo($(this));
            });

            function setFixed() {
                var $rows = $('body >.container >[data-anchor]'),
                    scrolltop = $(document).scrollTop(),
                    h,
                    _lis = $lis.filter(":visible"),
                    currIndex;
                if (scrolltop > offset_top) {
                    if (!$navbar.hasClass('fixed')) {
                        $navbar.addClass('fixed');
                    }
                    h = $navbar.outerHeight(true);
                    for (var $li, $row, top, i = 0, j = _lis.length; i < j; i++) {
                        $row = $rows.filter("[data-anchor=" + ($li = _lis.eq(i)).attr("data-scroll") + "]");
                        if ($row[0] && (top = $row.offset().top) && ( /*i == (j - 1) ||*/
                            ((top - h <= scrolltop) && (top + $row.outerHeight() - h > scrolltop)))) {
                            currIndex = i;
                            break;
                        }
                    }
                    if (i == j) {
                        _lis.removeClass("on");
                    } else {
                        _lis.eq(currIndex || 0).addClass("on").siblings().removeClass("on");
                    }
                } else {
                    if ($navbar.hasClass('fixed')) {
                        $navbar.removeClass('fixed');
                    }
                    _lis.eq(0).addClass("on").siblings().removeClass("on");
                }
            }
        })();
    </script>

    <div data-anchor="overview" id="overview">
        <div class="row row-picture row-bg">
            <div class="wrapper">
                <a class="image" data-cs-p="相册" href="/photo/list?scenicId=${entity.id!}" target="_blank">

                    <div class="bd">
                        <div class="pic-big"><img
                                    src="${(entity.coverUrls[0])!}"
                                    width="690" height="370"></div>
                        <div class="pic-small"><img
                                    src="${(entity.coverUrls[1])!}"
                                    width="305" height="183"></div>
                        <div class="pic-small"><img
                                    src="${(entity.coverUrls[2])!}"
                                    width="305" height="183"></div>

                        <span>34114张图片</span></div>
                </a></div>
        </div>

        <!-- 简介 S -->
        <div class="mod mod-detail" data-cs-p="概况">
            <div class="summary">
                ${entity.summary!}
            </div>

            <ul class="baseinfo clearfix">
                <#if entity.tel??>
                    <li class="tel">
                        <div class="label">电话</div>
                        <div class="content"> ${entity.tel!}</div>
                    </li>
                </#if>
                <#if entity.website??>
                    <li class="item-site">
                        <div class="label">网址</div>
                        <div class="content">
                            <a href="${entity.website!}" target="_blank" rel="nofollow">${entity.website!}</a>
                        </div>
                    </li>
                </#if>
                <li class="item-time">
                    <div class="label">用时参考</div>
                    <div class="content">${entity.referenceTime!}</div>
                </li>
            </ul>

            <dl>
                <dt>交通</dt>
                <dd>
                    ${entity.transport!}
                </dd>
            </dl>
            <dl>
                <dt>门票</dt>
                <dd>
                    <div>
                        <div>
                            ${entity.ticket!}
                        </div>

                    </div>

                </dd>
            </dl>
            <dl>
                <dt>开放时间</dt>
                <dd>
                    <div>
                        ${entity.openTime!}<br>
                        <#if entity.tips??>
                        tips:<br>
                        ${entity.tips!}
                    </div>
                    </#if>
                </dd>
            </dl>
            <#if entity.updateTime??>
                <div style="color:#999;font-size:12px;" data-cs-p="概况-感谢蜂蜂">
                    *信息更新时间：${(entity.updateTime?string("yyyy-MM-dd"))!}
                    感谢蜂蜂 <a href="/u/79650791.html" target="_blank">一点点的爱</a>
                    参与了编辑
                </div>
            </#if>
        </div>

        <!-- 简介 E -->
        <!-- 内部景点 S -->
        <div data-anchor="subPoilist">
            <div id="pagelet-block-bb456ee5b764682811223f9b8d30739e" class="pagelet-block">
                <#if entity.children?? && (entity.children?size > 0)>
                    <div class="mod mod-innerScenic" data-cs-p="内部景点" id="innerScenic">
                        <div class="mhd">内部景点</div>
                        <div class="mbd">
                            <ul class="clearfix">
                                <div>
                                    <#list entity.children as child>
                                        <li>
                                            <a href="/scenic/detail?id=${child.id!}" target="_blank"
                                               title="${child.name!}">
                                                <img src="${child.coverUrls[0]!}" width="235" height="150">
                                                <span class="num num-top">${child_index+1}</span>
                                                <div class="info">
                                                    <h3>${child.name!}</h3>
                                                    <span><em>${child.visitorNum!}</em>人去过</span>
                                                </div>
                                            </a>
                                        </li>
                                    </#list>
                                </div>
                            </ul>
                        </div>
                        <#--  <div class="more more-subpoi">
                              <a class="btn-subpoi" data-page="1" data-pages="">查看更多</a>
                          </div>-->


                    </div>
                </#if>
                <style>
                    .mod-innerScenic .more {
                        margin-top: 20px;
                        text-align: center;
                    }

                    .mod-innerScenic .more a {
                        display: inline-block;
                        width: 160px;
                        height: 50px;
                        background-color: #fff;
                        border: 1px solid #fc9c27;
                        line-height: 50px;
                        color: #ff9d00;
                        font-size: 14px;
                        border-radius: 4px;
                        text-align: center;
                    }

                    .mod-innerScenic .num {
                        width: 40px;
                    }
                </style>
            </div>
        </div>
        <!-- 内部景点 E -->

    </div>

    <!--评论列表-->
    <div data-anchor="commentlist">
        <div id="pagelet-block-15f9d6d9ad9f6c363d2d27120e8a6198" class="pagelet-block"
             data-api=":poi:pagelet:poiCommentListApi" data-params="{&quot;poi_id&quot;:&quot;25091&quot;}"
             data-async="1"
             data-controller="/js/poi/ControllerPoiComment">
            <div class="mod mod-reviews" data-cs-p="评论列表" id="commentlist">
                <div class="mhd mhd-large">蜂蜂点评<span>（共有<em>5592</em>条真实评价）</span></div>
                <div class="review-nav">
                    <ul class="clearfix" id="comment_select_ul">
                        <li data-type="1" data-category="0" class="on"><span class="divide"></span><a
                                    href="javascript:void(0);"><span>全部</span></a></li>
                        <li data-type="1" data-category="2" class="">
                            <span class="divide"></span>
                            <a href="javascript:void(0);"><span>有图</span><span class="num"> (1356条)</span></a>
                        </li>
                        <li data-type="1" data-category="3" class="">
                            <span class="divide"></span>
                            <a href="javascript:void(0);">
                                <span>好评</span>
                                <span class="num">（4749条）</span>
                            </a>
                        </li>
                        <li data-type="1" data-category="4" class="">
                            <span class="divide"></span>
                            <a href="javascript:void(0);">
                                <span>中评</span>
                                <span class="num">（750条）</span>
                            </a>
                        </li>
                        <li data-type="1" data-category="5" class="">
                            <span class="divide"></span>
                            <a href="javascript:void(0);">
                                <span>差评</span>
                                <span class="num">（93条）</span>
                            </a>
                        </li>
                        <li data-type="2" data-category="178487584" class="">
                            <span class="filter-word divide"></span>
                            <a href="javascript:void(0);">标志性建筑<span class="num">（535人提及）</span></a>
                        </li>
                        <li data-type="2" data-category="103125314" class="">
                            <span class="filter-word divide"></span>
                            <a href="javascript:void(0);">人很多<span class="num">（141人提及）</span></a>
                        </li>
                        <li data-type="2" data-category="183864017" class="">
                            <span class="filter-word divide"></span>
                            <a href="javascript:void(0);">值得去<span class="num">（118人提及）</span></a>
                        </li>
                        <li data-type="2" data-category="104277092" class="">
                            <span class="filter-word divide"></span>
                            <a href="javascript:void(0);">恐高<span class="num">（112人提及）</span></a>
                        </li>
                        <li data-type="2" data-category="176664633" class="">
                            <span class="filter-word divide"></span>
                            <a href="javascript:void(0);">交通方便<span class="num">（92人提及）</span></a>
                        </li>
                        <li data-type="1" data-category="1" class="">
                            <span class="divide"></span>
                            <a href="javascript:void(0);"><span>金牌点评</span><span class="num"> (33条)</span></a>
                        </li>
                    </ul>
                </div>
                <div class="loading-img" style="display: none;"><img
                            src="http://images.mafengwo.net/images/weng/loading3.gif"> Loading...
                </div>
                <#--评论列表展示,使用es ,上面的条件需要利用es进行处理 10个条件,五个固定,5个聚合计算-->
                <div class="_j_commentlist">

                </div>
            </div>
        </div>
    </div>
    <form id="searchForm" action="/scenic/commentList" method="post">
        <input type="hidden" name="currentPage" id="currentPage" value="1">
        <input type="hidden" name="scenicId" value="${entity.id!}">
        <input type="hidden" name="category" value="0"><#--默认查询全部-->
        <input type="hidden" name="type" value="1"><#--默认查全部-->
    </form>

</div>

<script>


    $(function () {




        //我要点评
        $(".btn-reviews").click(function () {
            $("#editForm").clearForm(true);

            var json = $(this).data("json");
            $("#editModal").modal("show");
            $("#editForm input[name='scenicId']").val(json.id);
            //若用户已经点评过,进行数据回显```
            //$("#editForm input[name='detailId']").val(id);回显样例
        })

        //多图片上传
        var div;//用于回显
        var picnum;//上传框序号
        var arr = [];//存图片地址的数组

        $(".add-place").click(function () {
            div = $(this);
            picnum = div.data("picnum");

            $('#picture').val("");
            div.html("<i></i>");//回显清掉
            arr[picnum] = null;
            $('#picture').click();//触发文件框


        })

        //文件上传
        $("#picture").change(function () {

            if ($(this).val()) {//有值才提交
                //获取div中的img中的值,若有值,从coverUr中移除-->待解决
                $("#uploadForm").ajaxSubmit({
                        url: "/scenic/upload",
                        success: function (data) {
                            div.html("<img src='" + data.data + "' style='width: 120px;height: 120px\'/>");
                            arr[picnum] = data.data;
                        }
                    }
                )
            }
        })


        //点评保存
        $(".submitBtn").click(function () {
            var imgUrls = [];
            var ix = 0;
            //处理数组中的空数组,主要是防止连续两个逗号.
            arr.forEach(function (value, index) {
                if (value) {
                    imgUrls[ix] = value;
                    ix++;
                }
            })

            //保存前设置上传数据.
            $("#editForm input[name='imgUrls']").val(imgUrls);

            $("#editForm").ajaxSubmit(function (data) {

                if (data.success) {
                    window.location.reload();
                } else {
                    if (data.code == 102) {
                        $.messager.alert("温馨提示", data.msg);
                    } else {
                        $.messager.alert("温馨提示", data.msg);
                    }
                    setTimeout(function () {
                        window.location.reload();
                    }, 2000)
                }
            });
        });


        //获取评论列表
        getComment();

        //条件查询
        $("#comment_select_ul li").click(function () {

            var category = $(this).data("category");
            var type = $(this).data("type");//标签类型,可以根据该类型选择不同的查询方式


            $("#comment_select_ul li").removeClass("on");
            $(this).addClass("on");


            $("#searchForm input[name=currentPage]").val(1);
            $("#searchForm input[name=category]").val(category);
            $("#searchForm input[name=type]").val(type);

            //提交表单
            getComment();


        })
        // var thumb;
        // $(".useful").click(function () {
        //     thumb = $(this);
        //     var commentId = thumb.data("id");
        //     //$(this).toggleClass('on');//点赞样式轮换
        //     var tN = $(".useful span[commentid=" + commentId + "]");//子元素准备回显
        //
        //     //发送ajax请求修改redis数据
        //     $.get("/scenic/thumbup", {commentId: commentId}, function (data) {
        //         if (data.success) {
        //             tN.html(data.data.thumbsupnum);//返回点赞数
        //             thumb.addClass("on");
        //             popup("点赞成功");
        //         } else {
        //             if (data.code == 102) {
        //                 thumb.removeClass("on");
        //                 popup(data.msg);
        //             } else {
        //                 thumb.removeClass("on");
        //                 tN.html(data.data.thumbsupnum);//回显新的点赞数
        //                 popup("已取消点赞");
        //             }
        //         }
        //     });
        //
        // })
















    })

    //查询表单提交
    function getComment() {
        $("#searchForm").ajaxForm(function (data) {

            $("._j_commentlist").html(data);
        });
        $("#searchForm").submit();


    }


</script>
<script type="text/javascript">

    $(function () {
        $("._j_starlist a").mouseover(function () {
            var index = $(this).index() + 1;
            var text = $(this).attr("title");

            $(this).closest("div").prev().addClass("star" + index);
            $(this).closest("div").parent().next().html(text);
        }).mouseout(function () {
            var index = $(this).index() + 1;
            var text = $(this).attr("title");
            $(this).closest("div").prev().removeClass("star" + index);
            $(this).closest("div").parent().next().html(text);

            var x = $(this).closest("div").prev().prev().val();
            if (x == index) {
                $(this).closest("div").prev().addClass("star" + x);
            }


        }).click(function () {
            var index = $(this).index() + 1;
            var text = $(this).attr("title");
            $(this).closest("div").prev().addClass("star" + index);
            $(this).closest("div").parent().next().html(text);

            $(this).closest("div").prev().prev().val(index);

        })
    })

</script>

<#--点评模态框-->
<div class="modal fade" id="editModal">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title">我要点评</h4>
            </div>
            <div class="modal-body">
                <#--点评-->
                <div data-anchor="comment">
                    <div class="row row-reviewForm" id="comment_20190714202243" data-cs-p="点评">
                        <div class="wrapper">

                            <div class="mfw-reviews">
                                <div id="_j_commentform_cnt">
                                    <h2>
                                        <strong>${entity.name}</strong>
                                        <em>*</em>为必填选项
                                    </h2>
                                    <form action="/scenic/addScenicComment" method="post" data-typeid="3" id="editForm">

                                        <input type="hidden" name="scenicId" value="${entity.id!}">
                                        <input type="hidden" name="imgUrls" value="">
                                        <div class="review-item item-star">
                                            <div class="label" style="color: #444444"><em>*</em>总体评价</div>
                                            <div class="review-star _j_rankblock" data-star="" name="rank">
                                                <input type="hidden" name="rank" value="" essential="1"
                                                       data-inputname="总体评价">
                                                <span class="_j_starcount star0"></span>
                                                <div class="click-star _j_starlist">
                                                    <a role="button" title="千万别去" rel="nofollow"></a>
                                                    <a role="button" title="不推荐" rel="nofollow"></a>
                                                    <a role="button" title="一般般" rel="nofollow"></a>
                                                    <a role="button" title="值得一去" rel="nofollow"></a>
                                                    <a role="button" title="必须推荐" rel="nofollow"></a>
                                                </div>

                                            </div>
                                            <span class="txt-tips _j_startip">点击星星打分</span>
                                        </div>
                                        <div class="review-group">
                                            <div class="review-item item-rating"
                                                 data-conf="{&quot;type&quot;:&quot;select&quot;,&quot;notnull&quot;:&quot;1&quot;,&quot;name&quot;:&quot;\u98ce\u5149&quot;,&quot;conf&quot;:{&quot;options&quot;:[&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;]},&quot;show&quot;:{&quot;style&quot;:&quot;starRank&quot;}}">
                                                <div class="label" style="color: #444444"><em>*</em>风光</div>
                                                <div class="review-score _j_rankblock" data-star="" name="scene_rank">
                                                    <input type="hidden" name="sceneRank" value="" essential="1"
                                                           data-inputname="给风光的评分">
                                                    <span class="_j_starcount star0"></span>
                                                    <div class="click-star _j_starlist">
                                                        <a role="button" title="特别差" rel="nofollow"></a>
                                                        <a role="button" title="不太好" rel="nofollow"></a>
                                                        <a role="button" title="一般般" rel="nofollow"></a>
                                                        <a role="button" title="很棒" rel="nofollow"></a>
                                                        <a role="button" title="超出预期" rel="nofollow"></a>
                                                    </div>
                                                </div>
                                                <span class="txt-tips _j_startip">给风光打分</span>
                                            </div>
                                            <div class="review-item item-rating"
                                                 data-conf="{&quot;type&quot;:&quot;select&quot;,&quot;notnull&quot;:&quot;1&quot;,&quot;name&quot;:&quot;\u7279\u8272&quot;,&quot;conf&quot;:{&quot;options&quot;:[&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;]},&quot;show&quot;:{&quot;style&quot;:&quot;starRank&quot;}}">
                                                <div class="label" style="color: #444444"><em>*</em>特色</div>
                                                <div class="review-score _j_rankblock" data-star="" name="feature_rank">
                                                    <input type="hidden" name="featureRank" value="" essential="1"
                                                           data-inputname="给特色的评分">
                                                    <span class="_j_starcount star0"></span>
                                                    <div class="click-star _j_starlist">
                                                        <a role="button" title="特别差" rel="nofollow"></a>
                                                        <a role="button" title="不太好" rel="nofollow"></a>
                                                        <a role="button" title="一般般" rel="nofollow"></a>
                                                        <a role="button" title="很棒" rel="nofollow"></a>
                                                        <a role="button" title="超出预期" rel="nofollow"></a>
                                                    </div>

                                                </div>
                                                <span class="txt-tips _j_startip">给特色打分</span>
                                            </div>
                                            <div class="review-item item-rating"
                                                 data-conf="{&quot;type&quot;:&quot;select&quot;,&quot;notnull&quot;:&quot;1&quot;,&quot;name&quot;:&quot;\u670d\u52a1&quot;,&quot;conf&quot;:{&quot;options&quot;:[&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;]},&quot;show&quot;:{&quot;style&quot;:&quot;starRank&quot;}}">
                                                <div class="label" style="color: #444444"><em>*</em>服务</div>
                                                <div class="review-score _j_rankblock" data-star="" name="service_rank">
                                                    <input type="hidden" name="serviceRank" value="" essential="1"
                                                           data-inputname="给服务的评分">
                                                    <span class="_j_starcount star0"></span>
                                                    <div class="click-star _j_starlist">
                                                        <a role="button" title="特别差" rel="nofollow"></a>
                                                        <a role="button" title="不太好" rel="nofollow"></a>
                                                        <a role="button" title="一般般" rel="nofollow"></a>
                                                        <a role="button" title="很棒" rel="nofollow"></a>
                                                        <a role="button" title="超出预期" rel="nofollow"></a>
                                                    </div>

                                                </div>
                                                <span class="txt-tips _j_startip">给服务打分</span>
                                            </div>
                                        </div>
                                        <div class="review-item item-comment">
                                            <div class="label" style="color: #444444"><em>*</em>评价</div>
                                            <div class="content">
                                <textarea class="_j_commentarea" name="comment" essential="1" data-inputname="点评内容"
                                          placeholder="详细、客观、真实，130字以上为佳！上传图片会加分哦！" data-minlen="15"
                                          data-maxlen="1000" style="width: 85%"></textarea>
                                                <p class="_j_commentcounttip">15-1000个字</p>
                                            </div>
                                        </div>

                                        <div class="review-item item-image">
                                            <div class="label" style="color: #444444">上传照片</div>
                                            <div class="content">
                                                <dl class="upload-box _j_piclist">
                                                    <dd data-commentid="" class="_j_addpicbtns" ids="0">
                                                        <div class="add-place" data-picnum="0"><i></i>
                                                        </div>

                                                    </dd>
                                                    <dd data-commentid="" class="_j_addpicbtns" ids="1"
                                                        style="position: relative;">
                                                        <div class="add-place" data-picnum="1">
                                                            <i></i>
                                                        </div>

                                                    </dd>
                                                    <dd data-commentid="" data-picnum="2" class="_j_addpicbtns" ids="2"
                                                        style="position: relative;">
                                                        <div class="add-place" data-picnum="2"><i></i></div>
                                                    </dd>

                                                </dl>
                                            </div>
                                        </div>
                                    </form>
                                    <form method="post" id="uploadForm" enctype="multipart/form-data"
                                          style="display: none">
                                        <#--隐藏文件上传表单,用于上传文件-->
                                        <input id="picture" type="file" name="file">
                                        <input type="text" name="scenic.id" value="${entity.id}">
                                        <input type="text" name="destId" value="${entity.destId}">
                                    </form>
                                </div>
                            </div>

                            <div class="mfw-reviews have-reviews" style="display: none">
                                <h2>
                                    <strong>${entity.name!}</strong>
                                </h2>
                                <div class="review-item item-star">
                                    <div class="label">你已评价为</div>
                                    <div class="review-star">
                                        <span class="star0"></span>
                                    </div>
                                    <a class="edit-reviews" data-commentid="" title="修改评论"><i></i>我要修改</a>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning submitBtn">提交点评</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>

<!----------------------------------------->
<#include "../common/footer.ftl"/>

<div class="mfw-toolbar" id="_j_mfwtoolbar" style="display: block;">
    <div class="toolbar-item-top" style="display: none;">
        <a role="button" class="btn _j_gotop">
            <i class="icon_top"></i>
            <em>返回顶部</em>
        </a>
    </div>
    <div class="toolbar-item-feedback">
        <a role="button" data-japp="feedback" class="btn">
            <i class="icon_feedback"></i>
            <em>意见反馈</em>
        </a>
    </div>
    <div class="toolbar-item-code">
        <a role="button" class="btn">
            <i class="icon_code"></i>
        </a>
        <a role="button" class="mfw-code _j_code">


            <img src="https://p1-q.mafengwo.net/s1/M00/6C/51/wKgIC1t_6TuASybrAADGUPUHjr021.jpeg?imageMogr2%2Fthumbnail%2F%21450x192r%2Fgravity%2FCenter%2Fcrop%2F%21450x192%2Fquality%2F90"
                 width="450" height="192">
        </a>
    </div>

</div>

</body>

</html>